package com.xbongbong.admin.model;

import ch.qos.logback.core.rolling.helper.IntegerTokenConverter;
import com.xbongbong.admin.domain.entity.PaasMenuRetainEntity;

import java.util.List;
import java.util.Map;

/**
 * PAAS 菜单服务层
 *
 * @author guohiu.zhang
 */
public interface PaasMenuRetainModel {

    /**
     * 查询列表，返回值可以自己限定
     * @param params
     * @return
     */
    List<PaasMenuRetainEntity> findEntitys(Map<String, Object> params);

    Integer insertBatch(List<PaasMenuRetainEntity> paasMenuRetainEntities, String corpid);

    Integer deleteBatch(List<Long > menuIds,String corpid);

}
